package com.createidea.cms.struts.action;

public class LoginAction extends BaseAction {
    private String username;
    private String password;
    
	public String login(){
		if("admin".equals("admin"))
		   return SUCCESS;
		else
		   return INPUT;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
}
